package com.echo.echovividlive.utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class TimeUtil {
    public static LocalDateTime getCurrentTime() {
        LocalDateTime now = LocalDateTime.now();
        String strDate = now.format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
        return LocalDateTime.parse(strDate,DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"));
    }
}
